package me.kuye.jkuye.helper;

import java.io.File;

public class PathHelper {
	private static String webRootPath;

	public static void setWebRootPath(String webRootPath) {
		if (webRootPath == null) {
			return;
		}
		if (webRootPath.endsWith(File.separator)) {
			webRootPath.substring(0, webRootPath.length() - 1);
		}
		PathHelper.webRootPath = webRootPath;
	}

	public static String getWebRootPath() {
		return webRootPath;
	}
	
}
